set Transition
Assigns the outgoing transition of a clip.
A previously assigned transition block is detached but not destroyed automatically. Fails if the given transition block is invalid or already assigned to another clip. Both the clip and its following clip on the track must support transitions, see supportsTransition. To clear a clip's transition, use removeTransition instead.
Parameters
block
the outgoing clip that owns the transition relation.
transition
the transition block to assign.